package com.defect.service.basicsService.basicsServiceImpl;

import com.defect.mapper.TypeMapper;
import com.defect.service.basicsService.BTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class BTypeServiceImpl implements BTypeService {
    @Resource
    private TypeMapper typeMapper;

    /**
     * 查询所有类型名字
     * @return
     * @throws Exception
     */
    @Override
    public List<Map<String, Object>> selectTypeName() throws Exception {
        return typeMapper.selectTypeName();
    }
}
